package com.zjw.dao;

import com.zjw.entity.Subject;

import java.sql.SQLException;
import java.util.List;

/**
 * @projectName: studentCourseSelectionManagement
 * @package: com.zjw.dao
 * @className: Subject
 * @author: 翟
 * @date: 2025/4/7 0:10
 */

public interface SubjectDao {

    /**
     * 查询某个年级的课程
     * @param gradeId 年级ID
     * @return 课程列表
     * @throws SQLException
     */
    List<Subject> selectSubjectByGradeId(int gradeId) throws SQLException;
}
